<template>
	<div>
		<h1 class='title' v-if='val.title'>{{val.title}}</h1>
		<a :href="val.linkUrl">
			<img :src="JSON.parse(val.icon)[0]" >
		</a>
	</div>
</template>

<script>
	export default {
		props:['val'],

	}
</script>

<style scoped>
	.title{
		padding:20px 0;
		font-size:17px;
		text-align: center;
	}
</style>